package org.example.repository.dialect.mongo;

import org.example.repository.*;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

public class MongoRepository<T extends Entity<?>> implements Repository<T> {

    private final Schema schema;
    private final JdbcTemplate jdbcTemplate;

    public MongoRepository(Schema schema, JdbcTemplate jdbcTemplate) {
        this.schema = schema;
        this.jdbcTemplate = jdbcTemplate;
    }

    @Override
    public List<T> find(Query query) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public long count(Query query) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public T findById(Object id) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public T findFirst(Query query) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public int add(T entity) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public int update(T entity, Condition where) {
        throw new UnsupportedOperationException("not implemented");
    }

    @Override
    public void clear() {
        throw new UnsupportedOperationException("not implemented");
    }
}
